package com.pug.zixun.bo;

import java.math.BigDecimal;
import java.util.Date;
import lombok.*;
import org.pug.generator.anno.PugDoc;

/**
 * Order实体
 * 创建人:yykk<br/>
 * 时间：2022-08-09 23:06:29 <br/>
 * 源码下载：前台代码 git clone https://gitee.com/kekesam/kuangstudy-pug-ui.git
 * 飞哥B站地址：后台代码 git clone https://gitee.com/kekesam/kuangstudy-pug-parent.git
 * @version 1.0.0<br/>
 *
*/
@Data
@AllArgsConstructor
@NoArgsConstructor
@Builder
public class OrderBo  implements java.io.Serializable {

    @PugDoc(name="主键")
    private Long id;
    @PugDoc(name="订单号")
    private String ordernumber;
    @PugDoc(name="交易号")
    private String transactionId;
    @PugDoc(name="用户ID")
    private Long userid;
    @PugDoc(name="用户姓名")
    private String username;
    @PugDoc(name="用户昵称")
    private String nickname;
    @PugDoc(name="用户头像")
    private String avatar;
    @PugDoc(name="支付方式 weixin alipay")
    private String paymethod;
    @PugDoc(name="支付地址")
    private String ipaddress;
    @PugDoc(name="支付IP")
    private String ip;
    @PugDoc(name="支付时间")
    private Date createTime;
    @PugDoc(name="修改时间")
    private Date updateTime;
    @PugDoc(name="1 课程 2 专栏 3 会员")
    private Integer type;
    @PugDoc(name="支付金额")
    private BigDecimal paymoney;
    @PugDoc(name="是否是vip")
    private Integer isvip;
    @PugDoc(name="是否使用优惠券")
    private Integer isdiscount;
    @PugDoc(name="是否支付 0未支付 1已经支付 ")
    private Integer status;
    @PugDoc(name="购买id")
    private Long payid;
    @PugDoc(name="图片")
    private String img;
    @PugDoc(name="标题")
    private String title;
    @PugDoc(name = "是否已删除")
    private Integer isdelete;
    @PugDoc(name="真实金额")
    private BigDecimal realprice;
}
